package com.zhku.openservice;

import com.zhku.entity.User;
import com.zhku.entity.Vaccinum;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @BelongsProject: SpringBoot_School_Work
 * @BelongsPackage: com.zhku.openservice
 * @Author: "deweyMDH"
 * @CreateTime: 2023-04-14  00:22
 * @Version: 1.0
 */
@FeignClient(value = "vecisystem-user")
public interface UserOpenService {
    // 查询医护人员的信息
    @GetMapping(value = "user/getRole")
    public List<User> getRole();

    @GetMapping(value = "user/userAll")
    public List<User> userAll();
}
